package com.sport.bean;

/**
 * 学生参赛项目和报名时间 ,成绩
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StuTake {
    private  Integer id;
    private  Integer stuId; //学生id
    private  Integer projectId;//参赛项目

    private  double achievement; //成绩
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  Data Time;

    //一个成绩对应一个学生
    private Student student;

}
